package com.settlement.system.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * Lambda表达写法变量赋值实体
 */
@Data
@AllArgsConstructor
public class MsgResultVo implements Serializable {
    /**
     * 成功：true；失败false
     */
    private boolean result;
    /**
     * 消息
     */
    private String message;

    public static MsgResultVo newInstance() {
        return new MsgResultVo(true,null);
    }
}
